package daily;

import java.util.Arrays;
import java.util.Scanner;

/**
 * https://www.lanqiao.cn/problems/602/learning/
 * 
 * @author Jia
 *
 */
public class day3_11_4_dataProcess {
	public static void main(String[] args) {
		int[][] maze = new int[30][50];
		Scanner sc = new Scanner(System.in);
		for (int i = 0; i < maze.length; i++) {
			String str = sc.next();
			for (int j = 0; j < str.length(); j++) {
				maze[i][j] = str.charAt(j) - '0';
			}
		}
		sc.close();
		System.out.println(Arrays.deepToString(maze).replace('[', '{').replace(']', '}'));
	}
}
